package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Supplier entity. @author MyEclipse Persistence Tools
 */

public class Supplier implements java.io.Serializable {

	// Fields

	private Integer supplierId;
	private String supplierName;
	private String supplierMan;
	private String supplierPhone;
	private String supplierFax;
	private String supplierAddress;
	private Integer supplierComment;
	private Integer supplierType;
	private Set invoices = new HashSet(0);

	// Constructors

	/** default constructor */
	public Supplier() {
	}

	public Supplier(Integer supplierId) {
		this.supplierId = supplierId;
	}

	/** full constructor */
	public Supplier(String supplierName, String supplierMan,
			String supplierPhone, String supplierFax, String supplierAddress,
			Integer supplierComment, Integer supplierType, Set invoices) {
		this.supplierName = supplierName;
		this.supplierMan = supplierMan;
		this.supplierPhone = supplierPhone;
		this.supplierFax = supplierFax;
		this.supplierAddress = supplierAddress;
		this.supplierComment = supplierComment;
		this.supplierType = supplierType;
		this.invoices = invoices;
	}

	// Property accessors

	public Integer getSupplierId() {
		return this.supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public String getSupplierName() {
		return this.supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getSupplierMan() {
		return this.supplierMan;
	}

	public void setSupplierMan(String supplierMan) {
		this.supplierMan = supplierMan;
	}

	public String getSupplierPhone() {
		return this.supplierPhone;
	}

	public void setSupplierPhone(String supplierPhone) {
		this.supplierPhone = supplierPhone;
	}

	public String getSupplierFax() {
		return this.supplierFax;
	}

	public void setSupplierFax(String supplierFax) {
		this.supplierFax = supplierFax;
	}

	public String getSupplierAddress() {
		return this.supplierAddress;
	}

	public void setSupplierAddress(String supplierAddress) {
		this.supplierAddress = supplierAddress;
	}

	public Integer getSupplierComment() {
		return this.supplierComment;
	}

	public void setSupplierComment(Integer supplierComment) {
		this.supplierComment = supplierComment;
	}

	public Integer getSupplierType() {
		return this.supplierType;
	}

	public void setSupplierType(Integer supplierType) {
		this.supplierType = supplierType;
	}

	public Set getInvoices() {
		return this.invoices;
	}

	public void setInvoices(Set invoices) {
		this.invoices = invoices;
	}

}